﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AMS.DataAccess.Dao
{
    /// <summary>
    /// 有状态的DAO基类，对于有状态的DAO基类，需要每次创建时都要给 CallingContext 赋值
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public abstract class StatefulDaoBase<T> : DaoBase<T>, IStatefulDao
        where T : class
    {
        /// <summary>
        /// 获取或设置调用的上下文
        /// </summary>
        public abstract CallingContext CallingContext { get; set; }
    }
}
